package com.gh.cloud.commons.core.entity.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PermissionInfo {
	private static final long serialVersionUID = 749360940290141180L;
	private Long id;
	private Date createTime;
	private Date updateTime;

	private Long parentId;
	private String name;
	private String css;
	private String url;
	private String path;
	private Integer sort;
	private Integer type;
	private Boolean hidden;
	/**
	 * 请求的类型
	 */
	private String pathMethod;

	private List<PermissionInfo> subMenus;
	private Long roleId;
	private Set<Long> menuIds;
}
